package com.spzx.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.product.domain.CategoryBrand;

import java.util.List;

public interface CategoryBrandService extends IService<CategoryBrand> {
   // List<CategoryBrand> selectCategoryBrandList(CategoryBrand categoryBrand);

    Page<CategoryBrand> listByCidAndBid(CategoryBrand categoryBrand);

    CategoryBrand getCategoryBrandById(Long id);

    boolean checkCategoryBrandIsExists(CategoryBrand categoryBrand);

    int deleteByIds(List<Long> ids);
}
